.PHONY:all 
all: exec  mycmd 

mycmd:cmd.c
	gcc cmd.c -o  mycmd   -g 
exec:exec.c
	gcc exec.c -o exec   -g 

.PHONY:clean
clean:
	rm -rf mycmd exec 

